﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel;
using MvcCarConsume.App_GlobalResources;

namespace MvcCarConsume.WebUI
{
    public class VMAccountLogIn : VMBase
    {
        [Required(ErrorMessageResourceName="LogInFormUserNameRequiredMessage",ErrorMessageResourceType=typeof(Resources))]
        [Display(Name="LogInFormUserNameLabelText",ResourceType=typeof(Resources))]
        public string UserName { get; set; }

        [Required(ErrorMessageResourceName = "LogInFormPasswordRequiredMessage", ErrorMessageResourceType = typeof(Resources))]
        [Display(Name="LogInFormPasswordLabelText",ResourceType=typeof(Resources))]
        public string Password { get; set; }

        [Display(Name = "LogInFormRememberLabelText", ResourceType = typeof(Resources))]
        public bool RememberMe { get; set; }

    }
}